<extend name="common/base" />
<block name="resource">
   <link href="__ASSET__/Home/v4/src/css/home.css" rel="stylesheet">
   <link href="__ASSET__/Home/v4/src/css/explore.css" rel="stylesheet">
   <link href="__ASSET__/Home/v4/src/css/user-center.css" rel="stylesheet">
   <link href="__ASSET__/Home/v4/src/css/user_fans.css" rel="stylesheet">
   <style>
     .mine a{
           border-right:none;
     }
    .btn-new-primary,.btn-new-primary:hover{
          background:#349ff9;
          color:#fff;
     }
   </style>
</block>
<block name="content">
          <!--中间位置-->
    <div class="main container">
        <div class="user-center-main white-bg gray-border marginb20">
            <!--左边板块-->
            <include file="Ucenter/baseinfo" />
            <!--右边板块-->
            <div class="user-main-right">
                <div class="scroll_area" >
	                <div class="right_area_title">
	                          <div class="left l_title">关注 
                                <span style="font-size:13px;color:#666;" class="follow_num">({$user.statis.follows})</span>
                            </div>
	                </div>
                    <!-- 显示粉丝 -->
                    <div class="fans_area">
                         <form class="form-inline" role="form" action="/my-follows" method="get">
  	                    	 <div class="form-group" style="margin-top:20px;">
  	                    		   <input type="text" class="form-control nickname" placeholder="请输入昵称" name="nickname">
  	                    		   <button type="submit" class="btn btn-new-primary">搜索</button>
  	                    	 </div>
                    	  </form>
                        <notempty name="follows_list">
                          <ul class="fan_ul">
                            <volist name="follows_list" id="follow">
                                <include file="Ucenter/followsTemplate" />
                            </volist>
                          </ul>
                        </notempty>
                        <div class="page">
                                  <ul>
                                  </ul>
                       </div>
                       <div class="load-more" style="display:none;">
                             <i><img src="__ASSET__/Home/v4/src/images/loading-white.gif" alt="正在加载，请稍候..."/></i>
                             <span>正在加载，请稍候...</span>
                       </div>
                       <empty name="follows_list">
                              <div class="empty_favour" style="margin-top:240px;">
                                  <div class="empty_favour_icon"></div>
                                   <p  class="is_favour">暂时还没有关注</p>
                              </div>
                       </empty>
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>
<block name="footer"></block>
<block name="component">
    <script src="__ASSET__/Home/v4/dist/js/set_common_bg.js?v=1.0"></script>
    <script src="__ASSET__/Home/v4/src/js/fans_common.js?v=1.1"></script>
    <script>
        window._THIS = {
            list_url : '/my-follows?nickname={$nickname}',
            p : {$page|default=1},
            pager : {$pager|default=10},
            total : {$followsCount|default=0},
            unfollow:"{:U('Home/follow/unfollow')}",
            dofollow:"{:U('Home/follow/dofollow')}",
            follow_type:1,
        };
      $(function(){
           tool.setHeight();
      })
    </script>
</block>